package com.josework.springhelloworld.list.filter;

import com.josework.springhelloworld.list.entity.Employee;

public class FilterByAge implements MyPredicate{
    @Override
    public boolean test(Employee emp) {
        return emp.getAge()>=35;
    }
}
